﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace kongjian21
{
    [Designer(typeof(TongJi_EMS._TJ_Basic.TJ_BasicControlDesigner))]
    public partial class muxian10kv : TongJi_EMS._TJ_Basic.TJ_BasicControl
    {
        public muxian10kv()
        {
            InitializeComponent();
        }

        private void muxian10kv_Paint(object sender, PaintEventArgs e)
        {

            Pen a = new Pen(CtrColor, 6);
            e.Graphics.DrawLine(a, 0, y, x * 2, y);

        }

        private void muxian10kv_Resize(object sender, EventArgs e)
        {
            this.x = this.Width / 2;
            this.y = this.Height / 2;
            //this.Refresh();
        }

        private void muxian10kv_Load(object sender, EventArgs e)
        {
            muxian10kv_Resize(sender, e);

        }



    }
}